﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ClothCompany.aspx.cs" Inherits="AlbonWeb.Manager.ClothManager.ClothCompany" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Cloth Company</title>
    <script src="/js/ADS.js" type="text/javascript"></script>
    <script src="/js/content.js" type="text/javascript"></script>
    <link href="/css/Content.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        html, body, form
        {
            height: 100%;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="rod_left">
    </div>
    <div class="rod_right">
    </div>
    <div class="main_contented">
        <div class="right_top">
            <span class="scon_word">Manager>>Cloth Company</span>
        </div>
        <table width="750" border="0" class="table_add" cellpadding="0" cellspacing="0">
            <tr>
                <td class="content_title">
                    Cloth Company
                </td>
            </tr>
            <tr class="data_lightcolor">
                <td>
                   <a href="CompanyAdd.aspx"><img src="/images/add.png" /> Company Add</a>
                </td>
            </tr>
            <tr class="data_lightcolor">
                <td align="left">
                    <table width="90%" cellpadding="0" cellspacing="0" border="1" bordercolor="#AFDA8C"
                        class="tb_list">
                        <asp:Repeater ID="repMain" runat="server">
                            <HeaderTemplate>
                                <tr class="tr_list_head">
                                    <td style="width: 10%">
                                        Short Name
                                    </td>
                                    <td>
                                        Full Name
                                    </td>
                                    <td>
                                        Link Man
                                    </td>
                                    <td>
                                        PhoneNo
                                    </td>
                                    <td>
                                        Email
                                    </td>
                                    <td>
                                        createDate
                                    </td>
                                    <td>
                                        Active
                                    </td>
                                    <td>
                                        Edit
                                    </td>
                                    <td>
                                        Delete
                                    </td>
                                </tr>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <tr class="tr_list_content">
                                    <td style="width: 10%">
                                        <%#Eval("shortName") %>
                                    </td>
                                    <td>
                                        <%#Eval("fullName") %>
                                    </td>
                                    <td>
                                        <%#Eval("linkMan") %>
                                    </td>
                                    <td>
                                        <%#Eval("phoneNo") %>
                                    </td>
                                    <td>
                                        <%#Eval("Email") %>
                                    </td>
                                    <td>
                                        <%#Eval("createDate") %>
                                    </td>
                                    <td>
                                       <span style='color:<%#bool.Parse(Eval("active").ToString())?"bule":"red" %>'>
                                        <%#bool.Parse(Eval("active").ToString())?"YES":"NO" %></span>
                                    </td>
                                    <td>
                                        <a href='CompanyAdd.aspx?companyid=<%#Eval("ID") %>'>
                                            <img src="/images/grv_edit.gif" alt="" /></a>
                                    </td>
                                    <td>
                                        <img src="/images/grv_delete.gif" alt="" id="delete" />
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
